libs/foreignmemory: implement the missing functions on FreeBSD
authorRoger Pau Monne <roger.pau@citrix.com>
Tue, 5 Jan 2021 10:25:45 +0000 (11:25 +0100)
committerWei Liu <wl@xen.org>
Tue, 5 Jan 2021 12:33:55 +0000 (12:33 +0000)
commit4f022a2de7a35dda6d05175b2b5fb6dafab7b6fc
tree100c3cece72bbe4facbc4412e2e3ef32b21db203
parentfa679ef8b429cf2906318a845ba90f0568fa531d
libs/foreignmemory: implement the missing functions on FreeBSD

Implement restrict, map resource and unmap resource helpers on
FreeBSD.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Wei Liu <wl@xen.org>
tools/include/xen-sys/FreeBSD/privcmd.h
tools/libs/foreignmemory/freebsd.c
tools/libs/foreignmemory/private.h